﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PdfLucene
{
    public class PDFFile
    {
        string path;
        string title;
        string keywords;
        string _abstract;
        string contents;
        string modifiedTime;
        public string Path
        {
            get
            {
                return path;
            }
            set
            {
                path = value;
            }
        }

        public string Title
        {
            get
            {
                return title;
            }
            set
            {
                title = value;
            }
        }

        public string Keywords
        {
            get
            {
                return keywords;
            }
            set
            {
                keywords = value;
            }
        }

        public string Abstract
        {
            get
            {
                return _abstract;
            }
            set
            {
                _abstract = value;
            }
        }

        public string ModifiedTime
        {
            get
            {
                return modifiedTime;
            }
            set
            {
                modifiedTime = value;
            }
        }

        public string Contents
        {
            get
            {
                return contents;
            }
            set
            {
                contents = value;
            }
        }
        public PDFFile()
        { }
        public PDFFile(string Title, string Path,string Keywords,string Abstract,string ModifiedTime, string Contents)
        {
            this.title = Title;
            this.path = Path;
            this.keywords = Keywords;
            this._abstract = Abstract;
            this.modifiedTime = ModifiedTime;
            this.contents = Contents;
        }
        public PDFFile(string Contents)
        {
            this.contents = Contents;
        }
    }
}
